package com.corn.prometheus.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : Jim Wu
 * @version 1.0
 * @function :
 * @since : 2022/6/13 15:36
 */
@RestController
public class AlertController {

    @PostMapping("/alertMsg")
    public void alertMsg(@RequestBody String msg) {
        System.out.println(msg);
    }
}
